package com.jiezhuo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.web.firewall.HttpFirewall;
import org.springframework.security.web.firewall.StrictHttpFirewall;

@SpringBootApplication
@ComponentScan("com.jiezhuo.*")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class IotCentreApplication {
    public static void main(String[] args) {
        SpringApplication.run(IotCentreApplication.class,args);
    }
}
